import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.junit.jupiter.SpringJUnitConfig;
import org.zs.aop02.Calculator;
import org.zs.javaConfig02.JavaConfig;

@SpringJUnitConfig(value = JavaConfig.class)
public class ApoTest02 {
    @Autowired
    private Calculator calculator;

    @Test
    public void aop02test() {
        int result = calculator.add(1, 4);
    }

}
